package com.jielihaofeng.springboot.shorturl.service;

import com.jielihaofeng.springboot.shorturl.entity.ShortUrl;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Johnnie Wind
 * @since 2021-06-03
 */
public interface ShortUrlService extends IService<ShortUrl> {

    String getShortUrl(String url);

    String updateShortUrl(String url);

    String getUrl(String shortKey);
}
